﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Security;
using System.IO;

namespace Brjostagjof_H4.Models
{
    public class AdsModels//Advertisements
    {
        MonsterRepository monster = new MonsterRepository();
        public string adtitle { get; set; }
        public string adimgurl { get; set; }
        public string adtxt { get; set; }
        //Not currently in use
        public string adSendUrl(int id)
        {
            string result = monster.displayAdevertisement(id);
            return result;
        }
    }
}